<template>
  <div id="app">
    <!-- router-view -->
    <!-- 淡入动画 -->
    <transition name="van-fade">
      <!-- 缓存标签 -->
      <!-- <keep-alive> -->
        <router-view class="maxContainer"></router-view>
      <!-- </keep-alive> -->
    </transition>
  </div>
</template>

<script>
import Header from 'Components/common/myHeader.vue'

export default {
  name: 'app',
  components: {
    Header
  },
  created () {
    window.onerror=hide_error_message;
    function hide_error_message()
    {return true;}
  }
}
</script>

<style lang="scss">
  #app {
    font-size: 0.14rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    .maxContainer {
      position: absolute;
      left: 0;
      right: 0;
    }
  }
</style>
